﻿namespace com.binance.client.model.@event
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class SymbolTickerEvent
	{

		private string eventType;

		private long? eventTime;

		private string symbol;

		private decimal priceChange;

		private decimal priceChangePercent;

		private decimal weightedAvgPrice;

		private decimal lastPrice;

		private decimal lastQty;

		private decimal open;

		private decimal high;

		private decimal low;

		private decimal totalTradedBaseAssetVolume;

		private decimal totalTradedQuoteAssetVolume;

		private long? openTime;

		private long? closeTime;

		private long? firstId;

		private long? lastId;

		private long? count;

		public virtual string EventType
		{
			get
			{
				return eventType;
			}
			set
			{
				this.eventType = value;
			}
		}


		public virtual long? EventTime
		{
			get
			{
				return eventTime;
			}
			set
			{
				this.eventTime = value;
			}
		}


		public virtual string Symbol
		{
			get
			{
				return symbol;
			}
			set
			{
				this.symbol = value;
			}
		}


		public virtual decimal PriceChange
		{
			get
			{
				return priceChange;
			}
			set
			{
				this.priceChange = value;
			}
		}


		public virtual decimal PriceChangePercent
		{
			get
			{
				return priceChangePercent;
			}
			set
			{
				this.priceChangePercent = value;
			}
		}


		public virtual decimal WeightedAvgPrice
		{
			get
			{
				return weightedAvgPrice;
			}
			set
			{
				this.weightedAvgPrice = value;
			}
		}


		public virtual decimal LastPrice
		{
			get
			{
				return lastPrice;
			}
			set
			{
				this.lastPrice = value;
			}
		}


		public virtual decimal LastQty
		{
			get
			{
				return lastQty;
			}
			set
			{
				this.lastQty = value;
			}
		}


		public virtual decimal Open
		{
			get
			{
				return open;
			}
			set
			{
				this.open = value;
			}
		}


		public virtual decimal High
		{
			get
			{
				return high;
			}
			set
			{
				this.high = value;
			}
		}


		public virtual decimal Low
		{
			get
			{
				return low;
			}
			set
			{
				this.low = value;
			}
		}


		public virtual decimal TotalTradedBaseAssetVolume
		{
			get
			{
				return totalTradedBaseAssetVolume;
			}
			set
			{
				this.totalTradedBaseAssetVolume = value;
			}
		}


		public virtual decimal TotalTradedQuoteAssetVolume
		{
			get
			{
				return totalTradedQuoteAssetVolume;
			}
			set
			{
				this.totalTradedQuoteAssetVolume = value;
			}
		}


		public virtual long? OpenTime
		{
			get
			{
				return openTime;
			}
			set
			{
				this.openTime = value;
			}
		}


		public virtual long? CloseTime
		{
			get
			{
				return closeTime;
			}
			set
			{
				this.closeTime = value;
			}
		}


		public virtual long? FirstId
		{
			get
			{
				return firstId;
			}
			set
			{
				this.firstId = value;
			}
		}


		public virtual long? LastId
		{
			get
			{
				return lastId;
			}
			set
			{
				this.lastId = value;
			}
		}


		public virtual long? Count
		{
			get
			{
				return count;
			}
			set
			{
				this.count = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("eventType", eventType).append("eventTime", eventTime).append("symbol", symbol).append("priceChange", priceChange).append("priceChangePercent", priceChangePercent).append("weightedAvgPrice", weightedAvgPrice).append("lastPrice", lastPrice).append("lastQty", lastQty).append("open", open).append("high", high).append("low", low).append("totalTradedBaseAssetVolume", totalTradedBaseAssetVolume).append("totalTradedQuoteAssetVolume", totalTradedQuoteAssetVolume).append("openTime", openTime).append("closeTime", closeTime).append("firstId", firstId).append("lastId", lastId).append("count", count).ToString();
		}
	}

}